package com.hxzy.shop.common.dto.store.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 功能描述:门店详情
 *
 * @author tonneyyy
 */
@Getter
@Setter
@ToString
public class StoreDetailResp {
    @ApiModelProperty("门店Id")
    private Long storeId;

    @ApiModelProperty("管理员账号")
    private String account;

    @ApiModelProperty("管理员密码")
    private String password;

    @ApiModelProperty("门店名称")
    private String storeName;

    @ApiModelProperty("门店编码")
    private String storeCode;

    @ApiModelProperty("门店电话")
    private String telephone;

    @ApiModelProperty("配送半径")
    private Integer distributionRadius;

    @ApiModelProperty("配送方式 0支持快递 1支持同城 2支持自提")
    @NotNull(message = "配送方式不能为空")
    private List<Integer> deliveryMethod;

    @ApiModelProperty("门店地址")
    private String address;

    @ApiModelProperty("门店经度")
    private String longitude;

    @ApiModelProperty("门店维度")
    private String dimension;

    @ApiModelProperty("省份")
    private String province;

    @ApiModelProperty("市")
    private String city;

    @ApiModelProperty("区")
    private String district;

    @ApiModelProperty("开始营业时间")
    private String startTime;

    @ApiModelProperty("结束营业时间")
    private String endTime;

    /**
     * 客服URL
     */
    @ApiModelProperty("客服URL")
    private String url;

    /**
     * 门店资质url地址
     */
    @ApiModelProperty("门店资质url地址")
    private List<String> qalificationAddress;

    /**
     * 排序
     */
    @ApiModelProperty("排序")
    private Integer sort;


    /**
     * 是否支持同城
     */
    @ApiModelProperty("是否支持同城")
    private Boolean isMtDelivery;
}
